Pre-fetching map tile data along a route

ABSTRACT

The present application describes techniques for fetching map data as a selected subset of entire map data available by selecting map data tiles corresponding to an area that encompasses a route. An amount of map data accessed may be adjusted based on a priority assigned to areas or points along the route. A sequence of map data may be accessed based on a priority assigned to sets of map data.

CROSS-REFERENCE TO RELATED APPLICATION

The present application claims the benefit of U.S. Provisional PatentApplication No. 61/569,493 filed Dec. 12, 2011, the disclosure of whichis incorporated herein by reference in its entirety for all purposes.

FIELD OF TECHNOLOGY

The present disclosure relates to map rendering systems, such aselectronic map display systems, and more specifically to a method of andsystem for pre-fetching map data from a remote database.

BACKGROUND

With the widespread use of mobile devices, such as mobile phones,personal data assistants, tablet personal computers, etc., consumerdemand for ready access to varied types of data continues to grow at ahigh rate. These devices are used to transmit, receive, and store text,voice, image, and video data. Consumers often look to store largenumbers of applications on these devices, such that mobile devices areoften touted more for the number of available applications, thaninternal processor speed. While consumers have come to desire fastaccess to data, the sheer amount of data required to run theseapplications places a premium on data management, which may apply onboth the device level and at the network level. This premium may limitthe effectiveness of applications such as mapping applications, whichmay typically require comparatively large amounts of network data (e.g.,for systems that retrieve map data from a remote database).

Mapping applications are found in a variety of mobile devices, includingcar navigation systems, hand-held GPS units, mobile phones, and portablecomputers. These applications are among the most frequently usedapplications and are considered, by some, necessary for personal safety.Although the underlying digital maps are easy to use from a user'sperspective, creating a digital map is a data intensive process. Everydigital map begins with a set of raw data corresponding to millions ofstreets and intersections. That raw map data is derived from a varietyof sources, each providing different amounts and types of information.To effectively map a location, locate a driving route between a sourceand a destination, identify points of interest, etc. requiressubstantial amounts of data. Furthermore, many mapping applicationsrequire a display of different map data at different zoom levels, i.e.,different scales, where the amount of detail and the nature of thatdetail changes at each zoom level. For example, at a lowest zoom level,scaled furthest away from a target, the map data may contain theboundaries of continents, oceans, and major landmasses. At subsequentzoom levels, that map data may identify countries, states, homelands,protectorates, other major geographic regions. While at even furthersubsequent zoom levels, that map data may contain major roads, cities,towns, until eventually the map data contains minor roads, buildings,down to even sidewalks and walk ways depending on the region. The amountof detail is determined by the sources of information used to constructthe map data at each zoom level. But no matter the zoom level, theamount of information is voluminous and may be generally too large forstorage, in total, on mobile devices and too large for continuousdownload over a wireless communication network.

In operation, mapping applications typically download map data to themobile device through a wireless communication network and in responseto a user entering a location of interest and/or based on the currentlocation of the mobile device, such as the current global positioningsatellite (GPS) data or current cellular network location data for thedevice. A conventional technique for downloading map data is to have themobile device communicate this location data to a remote processor onthe wireless communication network, which, in response, downloads allmap data to the mobile device or the map data requested for display tothe user.

Map data may generally be stored in blocks known as map data tiles,where the number of map data tiles increases with zoom level. The remoteprocessor provides a subset of the available map data tiles for aparticular location or region to the mobile device for storage anddisplay at any particular time via a map display application. Byproviding large numbers of map data tiles, the mobile device may bufferthe map data for display to the consumer as the consumer scrolls acrossan area using the mapping application looking for adjacent or othermapping locations. However, the larger the number of map data tilesprovided at any particular time, the longer the download time and thehigher the buffer memory usage while the user is using the map displayapplication.

Map data tiles may be downloaded and cached in an inefficient mannerthat may not take advantage of a viewing context to more efficientlyretrieve higher priority mapping data over lower priority data. One suchviewing context relates to map data with respect to pre-fetching mapdata for different portions of a route. Pre-fetching data for laterusage is important in mobile devices where a connection to a mapdatabase (e.g., via a map database server) may only be intermittent atbest. Further, because mobile computing devices are generally morebandwidth and processor limited than, for example, a desktop computer,efficiency of retrieval and processing of map data is even more criticalin mobile applications. As a result, there is a need to have moreintelligent mechanisms for retrieving (e.g., downloading) and/orprocessing map data, in particular map data tiles, to sufficientlysatisfy visual requirements of a limited computing device withoutwasting bandwidth and processing services.

SUMMARY

A computer-implemented method for pre-fetching map data for a mappingapplication includes receiving information on a route including anorigin, a destination, and a set of paths connecting the origin and thedestination and determining a first tile radius associated with theorigin, a second tile radius associated with the destination, and afirst set of map tile radii associated with a set of points along theroute between the origin and the destination. The set of paths or roadsmay have a sequence. Each of the first tile radius, the second tileradius and the first set of tile radii correspond with a first, asecond, and a third set of pre-fetch map data tiles, respectively. Thefirst, the second, and the third set of pre-fetch map data tilescorrespond with map surface areas around the origin, the destination andthe route, respectively. The method accesses from a map database, thefirst, the second, and the third pre-fetch map data tiles. The mapdatabase stores the map data in the form of a plurality of map datatiles, and the first, the second, and the third pre-fetch map data tilescomprise a subset of the plurality of map data tiles. The method furtherstores the pre-fetch map data tiles in a local memory on a clientdevice.

A computer device may comprise a communications network interface, oneor more processors, one or more memories coupled to the one or moreprocessors, and a display device coupled to the one or more processors.The one or more memories may include computer executable instructionsstored therein that, when executed by the one or more processors, causethe one or more processors to receive, via a computer programmingapplication, information on a route including an origin, a destination,and a set of paths connecting the origin and the destination. Theinstructions may further cause a processor to determine a first set ofmap tile radii associated with a set of points along the route includingthe origin and the destination, wherein first set of map tile radiidefine a first set of pre-fetch map data tiles corresponding to mapsurface areas around and including the route. The instructions may stillfurther cause a processor to access, from a map database, the first setof pre-fetch map data tiles corresponding to the route. The map databasemay store the map data as a plurality of map data tiles, and the firstset of pre-fetch map data tiles may comprise a subset of the pluralityof map data tiles. The instructions may then cause a processor to storethe first set of pre-fetch map data tiles in a local memory on a clientdevice.

A further computer device may comprise a communications networkinterface, one or more processors, one or more memories coupled to theone or more processors, and a display device coupled to the one or moreprocessors. The one or more memories may include computer executableinstructions stored therein that, when executed by the one or moreprocessors, cause the one or more processors to receive, via a computerprogramming application, information on a route including an origin, adestination, and a set of paths connecting the origin and thedestination. The instructions may further cause a processor to determinea first, second and third set of pre-fetch map data tiles. The first setmay correspond to map surface areas around and including the origin. Thesecond set of pre-fetch map data tiles may correspond to map surfaceareas around and including the destination. The third set of pre-fetchmap data tiles may correspond to map surface areas around the routebetween the origin and the destination. The instructions may stillfurther cause a processor to access, from a map database, the first set,the second set, and the third set of pre-fetch map data tilescorresponding to the route, wherein the map database stores the map dataas a plurality of map data tiles, and the first set of pre-fetch mapdata tiles comprise a subset of the plurality of map data tiles.Finally, the instructions may cause a processor to store the first set,the second set, and the third set of pre-fetch map data tiles in a localmemory on a client device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a high-level block diagram of a map imaging system thatimplements communications between a map database stored in a server andone or more map image rendering devices.

FIG. 2 is a high level block diagram of an image rendering engine usedto render map images using map vector data.

FIG. 3 illustrates a portion of a data structure that can be used in themap database of FIG. 1.

FIGS. 4A, 4B, and 4C illustrate example renditions of map data at threedifferent zoom levels, respectively.

FIG. 5 illustrates a viewing window displaying a route.

FIG. 6 illustrates a route showing discrete areas around the routecorresponding to map data tiles.

FIG. 7 illustrates map data tiles including identified pre-fetch mapdata tiles corresponding to a map tile radius.

FIG. 8 illustrates two points 802, 804 along a route segment 810 (e.g.,a road segment) with corresponding tile radii 810.

FIG. 9 illustrates a process flow for determining pre-fetch map datatiles using tile radii.

FIG. 10 illustrates an area corresponding to map data that encompasses adetermined route.

FIG. 11A illustrates a map display of a route that has a special pointof interest on the route between an origin and a destination.

FIG. 11B illustrates a map display of a route having a point of interestoffset from the route.

FIG. 12 illustrates map data tiles including identified pre-fetch mapdata tiles for two different zoom levels.

FIG. 13 illustrates a process flow for determining a sequence of accessof sets of map data tiles which can be pre-fetched.

DETAILED DESCRIPTION

The present application generally relates to pre-fetching map data froma map database. Pre-fetching map data may refer to access/retrieval ofmap data by an application or device before the map data is immediatelyrequired for use. In one embodiment, map data may be pre-fetched beforean initiation of a function that uses the pre-fetched data. For example,map data from a map database may be accessed and/or retrieved by acomputing device before a user activates or executes a function (e.g., adisplay or rendering function) to use that map data. A benefit ofpre-fetching the map data is that during periods in which a map databaseis unavailable (e.g., when a mobile computing device is offline), thepre-fetched map data may be available to a mapping application orcomputing device to provide some services or functions, such asdisplaying a pre-fetched route. Generally, a route includes twoendpoints (e.g., origin and destination) and a set of paths or roadsconnecting the two endpoints. The set of paths or roads may have asequence. The sequence may also correspond to a direction of travel.Routes and route types are described in more detail below.

More specifically, the present application describes techniques forfetching map data as a selected subset of entire map data available, byselecting map data tiles corresponding to an area that encompasses aroute. An amount of map data accessed may be adjusted based on apriority of points along the route. In an example implementation,greater amounts of map data may be fetched or retrieved for endpoints ofthe route (representing origin and destination locations) than forpoints in the middle of the route. For determining what map datacorresponds to an area about the route, a set of map tile radii may beused to designate map data tiles to be accessed that correspond to areasof a map surface along the route.

Referring now to FIG. 1, a map-related imaging system 10, according toan embodiment, may include a map database 12 stored in a server 14 or inmultiple servers located at, for example, a central site or at variousdifferent spaced apart sites, and also may include multiple map clientdevices 16, 18, 20, and 22, each of which may be configured to store andimplement a map rendering device or a map rendering engine. The mapclient devices 16-22 may be connected to the server 14 via any hardwiredor wireless communication network 25, including for example a hardwiredor wireless local area network (LAN), metropolitan area network (MAN) orwide area network (WAN), the Internet, or any combination thereof. Themap client devices 16-22 may be, for example, mobile phone devices (18),computers such a laptop, tablet, desktop or other suitable types ofcomputers (16, 20) or components of other imaging systems suchcomponents of automobile navigation systems (22), etc. Moreover, theclient devices 16-22 may be communicatively connected to the server 14via any suitable communication system, such as any publically availableand/or privately owned communication network, including those that usehardwired based communication structure, such as telephone and cablehardware, and/or wireless communication structure, such as wirelesscommunication networks, including for example, wireless LANs and WANs,satellite and cellular phone communication systems, etc.

The map database 12 may store any desired types or kinds of map dataincluding raster image map data and vector image map data. However, theimage rendering systems described herein may be, in some embodiments,optimized for use with vector image data which may define or include aseries of vertices or vertex data points for each of numerous sets ofimage objects, elements or primitives within an image to be displayed.Generally speaking, each of the image objects defined by the vector datamay have a plurality of vertices associated therewith and these verticesmay be used to display a map related image object to a user via one ormore of the client devices 16-22.

As will also be understood, each of the client devices 16-22 may includean image rendering engine having one or more processors 30, one or morememories 32, a display device 34, and in many cases a rasterizer orgraphics card 36 which may be generally programmed and interconnected inknown manners to implement or to render graphics (images) on theassociated display device 34. The display device 34 for any particularclient devices 16-22 may be any type of electronic display device suchas a liquid crystal display (LCD), a light emitting diode (LED) display,a plasma display, a cathode ray tube (CRT) display, or any other type ofknown or suitable electronic display.

Generally, speaking, the map-related imaging system 10 of FIG. 1 mayoperate such that a user, at one of the client devices 16-22, may openor execute a map application (not shown in FIG. 1) that operates tocommunicate with and to obtain map information or map related data fromthe map database 12 via the server 14, and that may then display orrender a map image based on the received map data. The map applicationmay allow the user to view different geographical portions of the mapdata stored in the map database 12, to zoom in or zoom out on aparticular geographical location, to rotate, spin or change thetwo-dimensional or three-dimensional viewing angle of the map beingdisplayed, etc. More particularly, when rendering a map image on adisplay device or a display screen 34 using the system described below,each of the client devices 16-22 may download map data in the form ofvector data from the map database 12 and may process that vector datausing one or more image shaders to render an image on the associateddisplay device 34.

Referring now to FIG. 2, an image generation or imaging rendering device40 associated with or implemented by one of the client devices 16-22 isillustrated in more detail. The image rendering system 40 of FIG. 2 mayinclude two processors 30 a and 30 b, two memories 32 a and 32 b, a userinterface 34 and a rasterizer 36. In this case, the processor 30 b, thememory 32 b and the rasterizer 36 may be disposed on a separate graphicscard (denoted below the horizontal line), although this need not be thecase in all embodiments. For example, in other embodiments, a singleprocessor may be used instead. In addition, the image rendering system40 may include a network interface 42, a communications and storageroutine 43 and one more map applications 48 having map display logictherein stored on the memory 32 a, which may be executed on theprocessor 30 a. Likewise one or more image shaders in the form of, forexample, vertex shaders 44 and fragment shaders 46 are stored on thememory 32 b and are executed on the processor 30 b. The memories 32 aand 32 b may include either or both volatile and non-volatile memory andthe routines and shaders may be executed on the processors 30 a and 30 bto provide the functionality described below. The network interface 42may include any well known software and/or hardware components thatoperate to communicate with, for example, the server 14 of FIG. 1 via ahardwired or wireless communications network to obtain image data in theform of vector data for use in creating an image display on the userinterface or display device 34. The image rendering device 40 may alsoinclude a data memory 49, which may be a buffer or volatile memory forexample, that stores vector data received from the map database 12, thevector data including any number of vertex data points and one or morelookup tables as will be described in more detail.

During operation, the map logic of the map application 48 may execute onthe processor 30 to determine the particular image data needed fordisplay to a user via the display device 34 using, for example, userinput, GPS signals, prestored logic or programming, etc. The display ormap logic of the application 48 may interact with the map database 12,using the communications routine 43, by communicating with the server 14through the network interface 42 to obtain map data, preferably in theform of vector data or compressed vector data from the map database 12.This vector data may be returned via the network interface 42 and may bedecompressed and stored in the data memory 49 by the routine 43. Inparticular, the data downloaded from the map database 12 may be acompact, structured, or otherwise optimized version of the ultimatevector data to be used, and the map application 48 may operate totransform the downloaded vector data into specific vertex data pointsusing the processor 30 a. In one embodiment, the image data sent fromthe server 14 may include vector data generally defining data for eachof a set of vertices associated with a number of different imageelements or image objects to be displayed on the screen 34 and possiblyone or more lookup tables. If desired, the lookup tables may be sent in,or may be decoded to be in, or may be generated by the map application48 to be in the form of vector texture maps which are known types ofdata files typically defining a particular texture or color field (pixelvalues) to be displayed as part of an image created using vectorgraphics. More particularly, the vector data for each image element orimage object may include multiple vertices associated with one or moretriangles making up the particular element or object of an image. Eachsuch triangle includes three vertices (defined by vertex data points)and each vertex data point has vertex data associated therewith. In oneembodiment, each vertex data point includes vertex location datadefining a two-dimensional or a three-dimensional position or locationof the vertex in a reference or virtual space, as well as an attributereference. Each vertex data point may additionally include otherinformation, such as an object type identifier that identifies the typeof image object with which the vertex data point is associated. Theattribute reference, referred to herein as a style reference or as afeature reference, references or points to a location or a set oflocations in one or more of the lookup tables downloaded and stored inthe data memory 43.

Generally speaking, map data in the map database 12 for a particulargeographic region may be stored in different zoom levels, where eachzoom level is formed of a plurality of map data blocks, termed map datatiles, which may be used, in one embodiment, to construct a visualdisplay of the map or surface of the map at different levels of detail.FIG. 3 illustrates an example data structure 200 of a portion of the mapdatabase 12. The map data for a particular geographic region may bestored in numerous (n) different zoom level data structures (only threeof which are shown) 202A, 202B, and 202C, where each data structure isformed by a plurality of map data tiles. The data structure 202B, whichis the only one numbered for explanation purposes, shows the map datafor the particular or fixed geographic region at zoom level, z=2, whichis formed of 18 map data tiles, 204A-204R. The map data tiles mayrepresent the basic building blocks for constructing a map display. Eachmap data tile may contain necessary map data to construct a portion ofthe map display (e.g., a map surface), including data identifyingvarious map objects or map features such as roads, buildings, andgeographic boundaries, such as water lines, county lines, cityboundaries, state lines, mountains, parks, etc. The map data for ageographic region may be stored in any number of different zoom leveldata structures to provide different levels of detail for the particulargeographic region. In an embodiment, nineteen total zoom levels may bestored in the map database 12.

The number of tiles for a fixed geographic region at each zoom level mayincrease, e.g., linearly, quadratically, exponentially, or otherwise asthe zoom level number increases. The zoom levels in the illustratedexample (z=1, 2, and 5) have 6, 18, and 60 map data tiles, respectively,covering the same geographic area or region. Because the number of mapdata tiles may increase for the same area as zoom level increases, zoomlevel may be considered a density of map data corresponding to a numberof tiles per unit area. Higher zoom levels may generally require moretiles per unit area and thus provide higher map data density over lowerzoom levels.

In the illustrated embodiment, all map data is stored in map data tiles,and each map data tile in a zoom level data structure may be allocatedthe same or similar memory allocation size. For example, each tile204A-204R may be a bitmap image 10 Kbytes in size. This may be achieved,for example, by having each map data tile cover the same sizedgeographic area. For map data tiles containing vector data, the datasize for each tile may vary, but each tile may still, in someembodiments, be allotted the same maximum memory space. Although notillustrated, in other embodiments, the data tiles may have differentmemory space allocations within each zoom level data structure. In someembodiments, each map data tile may contain map data stored in a bitmapformat while in other embodiments each map data tile may contain mapdata stored in vector format.

FIGS. 4A-4C illustrate visual map displays, e.g., that may be fully orpartially displayed on the user interface 34, where each figure mayprovide a visual display of a map surface at a different zoom level. Inthe illustrated embodiments, FIG. 4A provides a visual map display 300at an example zoom level, z=6, constructed of a series of map data tiles302-318, which cover the same size geographic area and which have thesame amount of memory size.

In operation, the server 14 may be configured to transmit map data torespective client devices 16-22 in chunks of data defined by these mapdata tiles. For example, to transmit the map data needed to constructthe map display 300, the server 14 may transmit each map data tile in aframe, having a header portion providing identification data of theframe (such as geographic position, client device address, map data tileversion number, etc.) and a payload portion containing the specific mapdata tile data to be used in forming the visual display. Map data tilesmay provide an effective mechanism for quantizing map data stored in themap database 12 and for quantizing communication of the map data overthe network 25 to the client devices 16-22.

In comparison to FIG. 4A, FIG. 4B illustrates a visual map display 400at a zoom level higher than the zoom level of FIG. 4A, in this examplezoom level, z=10. The map display 400 may be formed of a plurality ofmap data tiles 402-432 Like the map data tiles 302-318, the map datatiles 402-432 are each the same in size, e.g., covering the same size ofa geographic area and having the same memory size. FIG. 4C illustratesanother visual map display 480 at a third even higher zoom level, zoomlevel z=12, formed of map data tiles.

Each of the displays 300, 400, and 480 may illustrate a portion of theoverall map data, which comprises many more map data tiles. Asillustrated across FIGS. 4A-4C, the map data tiles that form each visualmap display may have various levels of detail. The tiles 302-318 mayillustrate geographic boundaries, but no roads, only highways and/orinterstates, while the tiles of FIG. 4C may be at a higher zoom leveland contain information on roads, buildings, parks, end points, etc.

While a user interacts with the visual map displays 300, 400, and 480,the user may wish to scroll around to display other map data(corresponding to different geographic areas) near the illustrated mapdata. Therefore, the client devices 16-22 may use a system to fetch andstore a sufficient amount of map data to form the visual map displaywhile buffering additional map data at one of the local client devices16-22 to allow efficient user interaction with that display.

FIG. 5 illustrates a viewing window 500 of a route 501. The route may beprojected on to a map surface or map area. Generally, the route 501 maycomprise an origin 502, a destination 504, and a set of roads, streets,paths, segments etc. 506 that together connect the origin 502 to thedestination 504. A set, as used herein, includes one or more elements.The set of roads may be ordered as a sequence of roads. The route 501may have a direction which may also be indicated by the sequence of theset of roads. The route 501 may be determined in a number of manners.For example, a user may specify an origin and a destination (e.g., theuser may input two addresses) and a mapping application may determine,using data from a mapping database, a set of streets that may connectthe two points or locations, thereby forming a route. In some instances,the mapping application may determine a plurality of routes connectingthe origin and destination, where a user may be given an option toselect or designate at least one of the possible routes for processing.Alternatively the user may provide the mapping application with a routeincluding an origin, a destination, and a collection of paths (e.g.,roads) connecting the origin and destination.

In an embodiment of the techniques described herein, a map database,such as map database 12, may be accessed to pre-fetch or retrieve mapdata (e.g., map data tiles) corresponding to a map area that encompassesa determined route. In another embodiment, map data may be pre-fetchedto generate one or more routes. The map data used to generate a routemay be contained in the same map data tiles used to provide informationfor displaying a route. In a different embodiment, the data used togenerate the route may be contained in map data tiles separate from themap data tiles used to render the route. In another embodiment, the dataused to generate the route may be contained in a data form differentfrom map data tiles. Pre-fetching generally involves initiating aretrieval of map data before that data is needed for processing. Forexample, pre-fetching may involve retrieving map data before aninitiation of a rendering or display function utilizing that map data.Pre-fetching may also involve storing map data in a local memory forfaster retrieval over a map database. For example, the speed ofaccessing a local memory may be faster than the speed of accessing a mapdatabase (e.g., due to intermittent connection, connection bandwidth,etc.). In situations where a mobile device is only able tointermittently access the server 14 over network 25, pre-fetching mayinvolve scheduling access and retrieval of map data whenever the clientdevice is able to connect to the server 14, whether or not the mobiledevice/user has even requested access to that data (e.g., via a requestor function to render map data corresponding to the pre-fetched data).

FIG. 6 illustrates the route 501 of FIG. 5 with square areas 510disposed around the route. It should be noted that the term “around”when used with reference to a location or point is meant to include thelocation or point. Thus, “around the destination” includes an areaadjacent to the destination as well as the destination point itself. Thesquares 510 may represent discrete areas of the map corresponding todiscrete units of map data. With respect to map data tiles describedabove, each square area 510 may represent or correspond with a map datatile for particular zoom level. The areas 510 may represent only asubset of a total set of map data tiles available or retrievable. Forexample, where map data tiles may generally exist for the entire viewingwindow 600, the map data tiles represented by areas 510 are only afraction of the total map data tiles for the viewing window.

FIG. 6 illustrates that at a particular zoom level, a minimum amount ofmap data for displaying a route may include at least a set of map datatiles that correspond to an area that encompasses every point on theroute. In one embodiment, a minimum amount of map data may bepre-fetched or retrieved for a route by accessing via a map database themap data tiles corresponding to squares 510 of FIG. 6. For example, oneof the devices of system 10 may include instructions that, uponexecution by a processor, determine whether a point on a route isincluded within a map data tile and determine or identify the map datatiles that comprise the minimum number of map data tiles that encompassthe route.

A greater area around the route may be desired for some renderingsituations of a mapping application. Generally, the method and systemmay determine a subset of map data tiles for an area encompassing theroute (e.g., the route of FIGS. 5-9) by determining a tile radius ofpoints along the route, including an origin and a destination. FIG. 7illustrates an example visual map display 700 showing a portion ofavailable map data stored in the map database 12, at a first (arbitrary)zoom level. A point of interest 704 is shown with an assigned map tileradius 754. The map tile radius 754 represents a radial distance fromthe point of interest 704 for identifying tiles to fetch from the mapdatabase 12. The tile radius 754, in FIG. 7, extends from the point ofinterest 704 to identify a plurality of map data tiles associated withthe point of interest that are disposed within a circumference region756 defined by the identified tile radius, R. In the illustratedembodiment, this region 756 defines the set of pre-fetch map data tilesthat are to be identified, for example, from the map database 12 andsent to one of the client devices 16-22. In one example, any map datatile overlapping even partially with the circumference region 756 willbe within the set of pre-fetch map data tiles. These tiles are shaded inFIG. 7.

FIG. 8 illustrates two points 802, 804 along a route segment 810 (e.g.,a road segment) with corresponding tile radii 810. The shaded area ofFIG. 8 illustrates map data tiles that may be retrieved for the routesegment 810 based on the radii 802, 804. In FIG. 8, only a few points(e.g., points that are spaced apart by a constant interval) along theroad may be used to determine map radii and the corresponding shadedarea may be retrieved. In other embodiments, more points may be used todefine map tile radii for a line segment. Moreover, while a linesegment, such as a road segment, may comprise an infinite number ofpoints, map tile requests do not necessarily require a great number ofrequests or identifications for data tiles. Instead, a shaded area ofinterest may be calculated (using an integral function, for example) forthe entire length of the line segment and a single calculation may bemade to identify all tiles within a radius of the route. A single callmay then be made to retrieve all the corresponding map data tiles (e.g.,at one time).

FIG. 9 illustrates a process flow diagram or flow chart of a method,routine, or process 900 that may be used to pre-fetch map data for a mapsurface such as that illustrated in FIGS. 5-6. The method 900 mayinclude one or more blocks, modules, functions or routines in the formof computer-executable instructions that are stored in a tangiblecomputer-readable medium and executed using a processor of the server 14or client devices 16-22. The method 900 may be included as a module orcomponent of any backend device (e.g., the server 14) or frontend device(e.g., the client devices 16-22) of a computing environment for thesystem described herein, or as part of a module that is external to sucha system. FIG. 9 will be described with reference to the Figures forease of explanation, but the method 900 can of course be utilized withother objects and user interfaces. In any event, a block 902 determinesroute information including information on an origin, a destination, anda set of roads connecting the origin and destination. This may bereceived in response to one or more instructions executing within amapping application on one of the client devices 16-22. The block 902may also pre-fetch map data used to generate a route. As discussed, thismap data for generating a route may take the form of map data tileswhich may be different or same as the map data tiles for rendering aroute or may be stored as a separate data form altogether. In oneembodiment, the map data for generating a route may be in the form ofturn-by-turn instructions that define a route.

A block 904 may determine a set of map tile radii for points along theroute. In one embodiment, block 904 may determine a minimum tile radiusfor all points along the route. The minimum map tile radius may beselected to enable a minimum number of map data tiles to be selectedthat corresponds with an area that encompasses the entire route (such asthat of FIG. 6). This minimum map tile radius may be considered a fixedradius for the entire route. In other embodiments, block 904 may alsodetermine a set of map tile radii for points of interest or points ofpriority along the route. These points of interest may be determined tohave radii larger than the minimum tile radius (to be discussed furtherbelow). Once the radii are determined for the route, a block 906 mayaccess a map database, such as map database 12, for the map data tilescorresponding to the radii determined in block 904. A block 908 may thenretrieve the map data tiles corresponding to the radii determined inblock 904 and store the retrieved tiles in a local memory of a clientdevice 16-22.

In one embodiment, a point along a route may be assigned a priorityvalue. For example, priority may be assigned or designated using a flag,an attribute, or other indicator associated with a point on the route. Aroute segment may be defined by a set of points, and thus, the routesegment (e.g., a road segment of the route) may correspond to a prioritywhen a set of points defining the route segment are assigned thatpriority. Further, a priority attribute may simply be a high or a lowvalue (i.e., priority or no priority). In other embodiments, thepriority may be a scaled value between a high and a low value.

The method and system described herein may determine one or more pointsof interest to display to a user via the interface 34. The points ofinterest may be determined based on a user input, for example, throughthe user providing an address into a data field presented on theinterface 34, or through the user selecting to find a point of interestobtained through interaction with the interface 34. Generally, thepriority of a point along the route may represent or may be determinedby a likelihood that a user may initiate a function that accesses mapdata corresponding to the point. This may correspond to a userinitiating a function to display a portion of the map using particularmap data. The likelihood of access may be determined based on metrics ofthe system in operation, including, for example, analysis of the averagenumber and times that instructions of the mapping application areexecuted to access the map data.

In one embodiment, the origin and destination may be assigned by defaultas points of interest having a high priority. FIG. 10 illustrates anarea 1000 that encompasses the determined route 501 (FIG. 5) where thereis map data corresponding to a greater area around the origin 502 anddestination 504 than along the route 506 connecting the origin 502 anddestination 504. FIG. 10 illustrates that the origin 502 and destination504 may be assigned a higher priority than a set of points along theroute 506 between the origin and destination. In this case, larger maptile radii are assigned to the origin 502 and destination 504. Theorigin and destination may represent default points of interest. In thiscase, a greater amount of data is retrieved for the high priority points(origin and destination) than for the lower priority points of theconnecting route.

In some embodiments, the destination 504 may have higher priority, andthus more map data corresponding to a greater area, than the origin 502.This may apply to situations when a user intends to travel to thedestination and is more likely to require more information at thedestination (potentially longer stay time) than at an origin(potentially less stay time since the user may be leaving). There aresome situations, however, where the origin may require a greater amountof priority and may have a greater map area. This may be the case, forexample, when the complexity of the area about the origin (e.g.,complexity increases as the number of junctions, roads, and terraincomplexities increases) is high and a greater amount of map area isneeded for navigating through the area about the origin.

FIG. 11A illustrates a viewing window 1100 of a map surface showingmultiple points of interest 502, 504, and 1101. FIG. 11A illustrates aspecial point of interest 1101 on the route 501 between the origin 502and the destination 504. In this situation, the point of interest 1101may be assigned a higher priority, and a larger tile radius, than thesurrounding route. This point of interest may be a city, a town, orother landmark that has been assigned a high priority. A plurality ofpoints of interest along the route may be assigned a high priority andgreater amounts of map data tiles may be retrieved for those points ofinterest.

FIG. 11B illustrates a viewing window 1150 of the route 501 that has aspecial point of interest 1120 located a distance offset from the route501 between the origin 502 and the destination 504. In this situation,an area 1125 around the point 1120 may be designated and correspondingmap data tiles marked for the area 1125. In one embodiment, a tileradius for the point of interest 1120 may be determined so that acircumference of the tile radius overlaps with a tile radius of a pointalong the route 501 closest to the point of interest 1120. This may beconvenient for points of interest that are located near the route 501.In another embodiment, the method and system may determine one or morepaths from a point along the route to the point of interest 1120 that isoutside the route. Whether or not a path is determined for the point ofinterest 1120 may depend on a distance between the point of interest1120 and the path 501. For example, a path may be determined for a routeto an off-route point of interest 1120 when a distance to the point isat or below a threshold distance to account for a greater likelihoodthat a user will travel a shorter off-route distance to go to the point1120 than a longer off-route distance.

Priority of points along the route may be determined based on userinput, for example, through the user providing an address into a datafield presented on the interface 34, or through the user selecting tofind a point of interest obtained through interaction with the interface34, more generally. For example, the user can access a web-browser orother program running on the client device that identifies a location,business, home, etc., from which one of the client devices 16-22 mayallow the user to select such item for building a map display of thevicinity around such point of interest.

Any suitable manual method for entering or otherwise identifying one ormore points of interest may be used by one of the client devices 16-22.Furthermore, a mapping application on one of the client devices 16-22may automatically identify points of interest, for example, bydetermining a GPS position of the current location of one of the clientdevices 16-22, by determining most recently searched points of interest,by accessing a database of stored points of interest, or by determiningthe most recently visited points of interest (e.g., cities,neighborhoods, etc.). Of course, in some of these cases, the mappingapplication may determine locations for which to download map data forstorage at the user device as a background application and thus withoutany particular user interaction.

As discussed above, process blocks 906-908 may access a map database topre-fetch larger numbers of map data tiles corresponding to larger mapareas around points of interest at a single zoom level. In oneembodiment, instead of or in addition to pre-fetching more map datatiles at a first single zoom level for high priority points, the methodand system may pre-fetch map data tiles for high priority points at asecond higher zoom level. FIG. 12 illustrates the same route of FIG. 6having areas 506 representing the same size map data tiles as the zoomlevel of FIG. 6. In addition, FIG. 12 illustrates additional map datatiles represented by areas 1210 of a second higher zoom level. A userwishing to zoom into an area around the origin 502 or destination 504may initiate a zoom function of the viewing window. When the higher zoomlevel map data tiles are pre-fetched to one of the client devices 16-22,a response time for rendering those map data tiles may be relativelyfast.

Of course, in addition to retrieving additional map data tiles at thesecond higher zoom level, the method and system may also retrieve mapdata tiles at a second higher zoom level for a different area than thatof the first zoom level or for a different area in relation to otherpoints on the route at the second higher zoom level. Also, the methodand system may or may not retrieve higher zoom level data for pointsalong the route at low priority (e.g., in the middle of the route,without a point of interest, etc.). Whether higher zoom level map datais retrieved for points about the middle of the route may be dependenton the priority of points along the route. As discussed above, priorityof a point on the route may be based in part on a determination of alikelihood of access for that map data.

The method and system described above may retrieve or process and storeinto a cache memory of a client device 16-22 only a subset of availableor retrievable map data tiles based on determined areas encompassing adetermined route. This method and system may provide a faster responsetime when anticipated map data is downloaded to a local cache memory forquick retrieval and processing. While one type of priority discussedabove is based on designating what map data (area and/or zoom level dataaround a route) to retrieve, a second type of priority may be an orderor sequence in which that map data is retrieved. The sequence of mapdata retrieval (e.g., map data tiles) may help to reduce bandwidth andprocessor tolls. The sequence of map data retrieval may also ensure thatmore important, high priority tiles are downloaded first in case aconnection to a server containing the map data is lost during retrieval.

FIG. 13 illustrates a process flow for determining when and in whatorder to retrieve map data tiles. Block 1302 may determine sets ofdifferent map data to receive. The sets of map data may correspond tothe map data determined as discussed above. For example, a first set ofmap data may correspond with the area around the origin, a second set ofmap data may correspond with the area around the destination, a thirdset of map data may correspond with the area along the path between theorigin and destination, and a fourth set of map data may correspond toan additional point of interest. Additional sets may involve differentzoom level data for portions of the route (e.g., origin, destination,road segments, and other points of interest).

A block 1304 may then determine a current condition of the system (e.g.,a viewing window state, a current bandwidth, a current processorcapacity, etc.). A block 1306 may then determine a sequence forpre-fetching each set of map data determined in block 1302. Thedetermination of block 1306 may be performed based on the conditiondetermined in block 1304. The sequence determined by block 1306 may be afixed default sequence that is based on a likely order of access by auser. This may be the case when block 1304 indicates a defaultcondition. At block 1308, a map database may be accessed in the sequencedetermined by block 1307 for each set of map data tiles of block 1302.At block 1310, the accessed map data may then be retrieved and/or storedin a local memory for quick access when a user or the map applicationinitiates an access or processing function requiring the map data.

A general sequence may involve retrieving map data for a destination, anorigin, additional points of interest along the route, and thenconnection segments (roads segments) to various off-route points ofinterest. Another sequence may lead with an overview set of map datathat includes a minimum map tile data for a zoom level and viewingwindow position that includes the origin and destination in onedisplayable viewing screen (such as that of FIG. 5). Another sequencemay include map data on the overview set at a first zoom level, map dataof origin and destination at a higher zoom level, then map datacorresponding to road segments at the first zoom level. In yet anothersequence, the origin data may precede the destination data when originis assigned a higher priority. This may be the case when an origincontains a complex traffic condition. Another case may be whenadditional information on a current user position (e.g., via a GPSpositioning signal) places the user along a route away from the origin.In other situations, map data for points of interest along the route mayhave a higher priority than an origin. Of course other sequences arepossible and within the scope of operation of the techniques describedherein.

In one embodiment, both the sequence and area of map data tiles may beaccessed or pre-fetched based on a viewing window state. In particular,the map data tiles may be accessed based on a viewing window position.The viewing window position may be centered near a particular pointalong the route. As the viewing window position is changed so that thecenter position approaches other portions of the route, eitheradditional area map data may be retrieved (e.g., via blocks 906-908) ora sequence of retrieval may be changed (e.g., via blocks 1306-1310).This embodiment may be used in situations in which a current position ofa device rendering a map is provided to center the map at that currentposition (e.g., using a GPS system).

The amount of map tile data and the sequence in which subsets of the maptile data are accessed may be based on a current bandwidth or processorload of the system of FIG. 1. Decisions of whether to download a greateror smaller radius of map data tiles may depend on bandwidth and/orlatency considerations associated with retrieving the amount of map datatiles from a server. In some embodiments, bandwidth considerations maydepend on checking whether a current bandwidth/time-to-download forretrieving map data tiles is above a threshold. For example, one of theclient devices 16-22 may check a current download rate of a retrievalprocess to determine whether to retrieve additional map data tilescorresponding to a larger tile radius.

Processor capacity for performing map database access may be considered.For example, a current processor capacity may be checked against athreshold. This may be the case when a current condition of the mappingapplication requires reduced data retrieval and/or processing due toprocessor load. For example, where the processor is overloaded or backedup (the processor capacity is low or below a threshold), the map datatile radii may be shortened to reduce the total amount of map data tilesretrieved and processed, thereby lessening processor workload.

Further, the sequence and amount of the pre-fetch map data tiles may bebased on memory conditions. For example, there may be a limited amountof memory allocated for pre-fetch map data. The corresponding areas ofmap data tiles may be scaled appropriately to take into account a memorybudget. The sequence of retrieval may be reordered based on a memorybudget. Alternatively, the number of map data tile sets may be reducedbased on the memory budget.

Any suitable subset of the blocks of FIGS. 9 and 13 may be implementedin any suitable order by a number of different devices (e.g., client orserver) and remain consistent with the method and system describedherein. Moreover, additional determination blocks may be added to refinethe filtering of style parameters subject to interpolation processing.

Throughout this specification, plural instances may implementcomponents, operations, or structures described as a single instance.Although individual operations of one or more methods are illustratedand described as separate operations, one or more of the individualoperations may be performed concurrently, and nothing requires that theoperations be performed in the order illustrated. Structures andfunctionality presented as separate components in example configurationsmay be implemented as a combined structure or component. Similarly,structures and functionality presented as a single component may beimplemented as separate components. These and other variations,modifications, additions, and improvements fall within the scope of thesubject matter herein.

For example, the network 25 may include but is not limited to anycombination of a LAN, a MAN, a WAN, a mobile, a wired or wirelessnetwork, a private network, or a virtual private network. Moreover,while only four client devices are illustrated in FIG. 1 to simplify andclarify the description, it is understood that any number of clientcomputers or display devices are supported and can be in communicationwith the server 14.

Additionally, certain embodiments are described herein as includinglogic or a number of components, modules, or mechanisms. Modules mayconstitute either software modules (e.g., code embodied on amachine-readable medium or in a transmission signal) or hardwaremodules. A hardware module is tangible unit capable of performingcertain operations and may be configured or arranged in a certainmanner. In example embodiments, one or more computer systems (e.g., astandalone, client or server computer system) or one or more hardwaremodules of a computer system (e.g., a processor or a group ofprocessors) may be configured by software (e.g., an application orapplication portion) as a hardware module that operates to performcertain operations as described herein.

In various embodiments, a hardware module may be implementedmechanically or electronically. For example, a hardware module maycomprise dedicated circuitry or logic that is permanently configured(e.g., as a special-purpose processor, such as a field programmable gatearray (FPGA) or an application-specific integrated circuit (ASIC)) toperform certain operations. A hardware module may also compriseprogrammable logic or circuitry (e.g., as encompassed within ageneral-purpose processor or other programmable processor) that istemporarily configured by software to perform certain operations. Itwill be appreciated that the decision to implement a hardware modulemechanically, in dedicated and permanently configured circuitry, or intemporarily configured circuitry (e.g., configured by software) may bedriven by cost and time considerations.

Accordingly, the term hardware should be understood to encompass atangible entity, be that an entity that is physically constructed,permanently configured (e.g., hardwired), or temporarily configured(e.g., programmed) to operate in a certain manner or to perform certainoperations described herein. Considering embodiments in which hardwaremodules are temporarily configured (e.g., programmed), each of thehardware modules need not be configured or instantiated at any oneinstance in time. For example, where the hardware modules comprise ageneral-purpose processor configured using software, the general-purposeprocessor may be configured as respective different hardware modules atdifferent times. Software may accordingly configure a processor, forexample, to constitute a particular hardware module at one instance oftime and to constitute a different hardware module at a differentinstance of time.

Hardware and software modules can provide information to, and receiveinformation from, other hardware and/or software modules. Accordingly,the described hardware modules may be regarded as being communicativelycoupled. Where multiple of such hardware or software modules existcontemporaneously, communications may be achieved through signaltransmission (e.g., over appropriate circuits and buses) that connectthe hardware or software modules. In embodiments in which multiplehardware modules or software are configured or instantiated at differenttimes, communications between such hardware or software modules may beachieved, for example, through the storage and retrieval of informationin memory structures to which the multiple hardware or software moduleshave access. For example, one hardware or software module may perform anoperation and store the output of that operation in a memory device towhich it is communicatively coupled. A further hardware or softwaremodule may then, at a later time, access the memory device to retrieveand process the stored output. Hardware and software modules may alsoinitiate communications with input or output devices, and can operate ona resource (e.g., a collection of information).

The various operations of example methods described herein may beperformed, at least partially, by one or more processors that aretemporarily configured (e.g., by software) or permanently configured toperform the relevant operations. Whether temporarily or permanentlyconfigured, such processors may constitute processor-implemented modulesthat operate to perform one or more operations or functions. The modulesreferred to herein may, in some example embodiments, compriseprocessor-implemented modules.

Similarly, the methods or routines described herein may be at leastpartially processor-implemented. For example, at least some of theoperations of a method may be performed by one or processors orprocessor-implemented hardware modules. The performance of certain ofthe operations may be distributed among the one or more processors, notonly residing within a single machine, but deployed across a number ofmachines. In some example embodiments, the processor or processors maybe located in a single location (e.g., within a home environment, anoffice environment or as a server farm), while in other embodiments theprocessors may be distributed across a number of locations.

The one or more processors may also operate to support performance ofthe relevant operations in a “cloud computing” environment or as a“software as a service” (SaaS). For example, at least some of theoperations may be performed by a group of computers (as examples ofmachines including processors), these operations being accessible via anetwork (e.g., the Internet) and via one or more appropriate interfaces(e.g., application program interfaces (APIs).)

The performance of certain of the operations may be distributed amongthe one or more processors, not only residing within a single machine,but deployed across a number of machines. In some example embodiments,the one or more processors or processor-implemented modules may belocated in a single geographic location (e.g., within a homeenvironment, an office environment, or a server farm). In other exampleembodiments, the one or more processors or processor-implemented modulesmay be distributed across a number of geographic locations.

Some portions of this specification are presented in terms of algorithmsor symbolic representations of operations on data stored as bits orbinary digital signals within a machine memory (e.g., a computermemory). These algorithms or symbolic representations are examples oftechniques used by those of ordinary skill in the data processing artsto convey the substance of their work to others skilled in the art. Asused herein, an “algorithm” or a “routine” is a self-consistent sequenceof operations or similar processing leading to a desired result. In thiscontext, algorithms, routines and operations involve physicalmanipulation of physical quantities. Typically, but not necessarily,such quantities may take the form of electrical, magnetic, or opticalsignals capable of being stored, accessed, transferred, combined,compared, or otherwise manipulated by a machine. It is convenient attimes, principally for reasons of common usage, to refer to such signalsusing words such as “data,” “content,” “bits,” “values,” “elements,”“symbols,” “characters,” “terms,” “numbers,” “numerals,” or the like.These words, however, are merely convenient labels and are to beassociated with appropriate physical quantities.

Unless specifically stated otherwise, discussions herein using wordssuch as “processing,” “computing,” “calculating,” “determining,”“presenting,” “displaying,” or the like may refer to actions orprocesses of a machine (e.g., a computer) that manipulates or transformsdata represented as physical (e.g., electronic, magnetic, or optical)quantities within one or more memories (e.g., volatile memory,non-volatile memory, or a combination thereof), registers, or othermachine components that receive, store, transmit, or displayinformation.

As used herein any reference to “one embodiment” or “an embodiment”means that a particular element, feature, structure, or characteristicdescribed in connection with the embodiment is included in at least oneembodiment. The appearances of the phrase “in one embodiment” in variousplaces in the specification are not necessarily all referring to thesame embodiment.

Some embodiments may be described using the expression “coupled” and“connected” along with their derivatives. For example, some embodimentsmay be described using the term “coupled” to indicate that two or moreelements are in direct physical or electrical contact. The term“coupled,” however, may also mean that two or more elements are not indirect contact with each other, but yet still cooperate or interact witheach other. The embodiments are not limited in this context.

As used herein, the terms “comprises,” “comprising,” “includes,”“including,” “has,” “having” or any other variation thereof, areintended to cover a non-exclusive inclusion. For example, a process,method, article, or apparatus that comprises a list of elements is notnecessarily limited to only those elements but may include otherelements not expressly listed or inherent to such process, method,article, or apparatus. Further, unless expressly stated to the contrary,“or” refers to an inclusive or and not to an exclusive or. For example,a condition A or B is satisfied by any one of the following: A is true(or present) and B is false (or not present), A is false (or notpresent) and B is true (or present), and both A and B are true (orpresent).

In addition, use of the “a” or “an” are employed to describe elementsand components of the embodiments herein. This is done merely forconvenience and to give a general sense of the description. Thisdescription should be read to include one or at least one and thesingular also includes the plural unless it is obvious that it is meantotherwise.

Still further, the figures depict preferred embodiments of a maprendering system for purposes of illustration only. One skilled in theart will readily recognize from the following discussion thatalternative embodiments of the structures and methods illustrated hereinmay be employed without departing from the principles described herein.

Upon reading this disclosure, those of skill in the art will appreciatestill additional alternative structural and functional designs for asystem and a process for rendering map or other types of images usingthe principles disclosed herein. Thus, while particular embodiments andapplications have been illustrated and described, it is to be understoodthat the disclosed embodiments are not limited to the preciseconstruction and components disclosed herein. Various modifications,changes and variations, which will be apparent to those skilled in theart, may be made in the arrangement, operation and details of the methodand apparatus disclosed herein without departing from the spirit andscope defined in the appended claims.

1. A computer-implemented method for pre-fetching map data for a mappingapplication, comprising: initiating a first routing function, using acomputer, to generate a route, the route defined by an origin, adestination, and a set of paths connecting the origin to thedestination; determining, using the computer, a first tile radiusassociated with the origin wherein the first tile radius defines a firstset of map data tiles corresponding to map surface areas around andincluding the origin; determining, using the computer, a second tileradius associated with the destination, wherein the second tile radiusdefines a second set of map data tiles corresponding to map surfaceareas around and including the destination; determining, using thecomputer, a set of points along the route between the origin and thedestination and a first set of map tile radii for the set of points,wherein the first set of map tile radii define a third set of map datatiles corresponding to map surface areas around and including the route,wherein at least one of the first tile radius, the second tile radius,and one of the first set of map tile radii are different from eachother; modifying, using the computer, a default sequence of retrieval ofthe first, the second, and the third map data tiles corresponding to theroute based on a viewing window position; retrieving from a map databasethe first, the second, and the third map data tiles in order of themodified sequence, wherein the map database stores a plurality of mapdata tiles, and the first, the second, and the third set of map datatiles comprise a subset of the plurality of map data tiles of the mapdatabase; storing at least one of the first, the second, and the thirdset of map data tiles in a local memory as a first, a second, and athird set of pre-fetch map data tiles, respectively, wherein the localmemory is different from the map database; and initiating a renderingfunction to display the route using the set of pre-fetch map data tilesof the local memory instead of map data tiles of the map database. 2.The computer-implemented method of claim 1, wherein each of the firstset of map tile radii is determined so that points along the routecloser to the origin and destination have shorter radii than pointsalong the route further from the origin and destination.
 3. Thecomputer-implemented method of claim 1, wherein one of the set of pointsalong the route corresponds to a location on the route of high priority,and wherein a map tile radii corresponding to the point of high priorityis larger than a point of low priority.
 4. The computer-implementedmethod of claim 1, wherein determining the first, the second, and eachof the first set of map tile radii is based on an allocated memory sizeof the client device.
 5. The computer-implemented method of claim 1,further including identifying, using the computer, one or more zoomlevels in the map database, wherein the map database stores the map dataat different zoom levels, each zoom level containing a respective set ofmap data tiles; and wherein determining the first tile radius, thesecond tile radius and each one of the first set of map tile radiicomprises determining the first tile radius, the second tile radius andeach one of the first set of map tile radii at a first zoom level. 6.The computer-implemented method of claim 5, further includingdetermining a third tile radius and a fourth tile radius around andincluding the origin and destination, respectively, wherein the thirdtile radius and the fourth tile radius define a fourth set of map datatiles at a second higher zoom level corresponding to map surface areasaround the origin and destination, respectively; and accessing, from themap database, the fourth set of map data tiles at the second higher zoomlevel corresponding to the origin and destination; and storing thefourth set of map data tiles in the local memory as a fourth set ofpre-fetch map data tiles, wherein initiating the second renderingfunction uses the fourth set of pre-fetch map data tiles.
 7. Thecomputer-implemented method of claim 6, further including determining asecond set of map tile radii associated with a set of points along theroute between the origin and destination wherein the second set of maptile radii defines a fifth set of map data tiles at a second higher zoomlevel corresponding to map surface areas around the route between theorigin and destination; and accessing, from a map database, the fifthset of map data tiles at the second higher zoom level corresponding toareas around the route between the origin and destination; and storingthe fifth set of map data tiles in the local memory as a fifth set ofpre-fetch map data tiles, wherein initiating the second renderingfunction uses the fifth set of pre-fetch map data tiles.
 8. Thecomputer-implemented method of claim 1, further including determiningthat at least one of the first tile radius, the second tile radius andone of the first set of map tile radii is larger when a viewing windowis centered on one of the first tile radius, the second tile radius orone of the first set of map tile radii.
 9. The computer-implementedmethod of claim 1, further including accessing from the map database mapdata of two different zoom levels when the viewing window center ispositioned within a threshold distance of a point along the route havinga high priority, and storing the map data of the two different zoomlevels in the local memory as pre-fetch multi-zoom data, whereininitiating the second rendering function uses the pre-fetch multi-zoomdata.
 10. The computer-implemented method of claim 1, further includingdetermining, using the computer, a fourth tile radius associated with apoint of interest not along the route and wherein the fourth tile radiusdefines a fourth set of map data tiles corresponding to a location notalong the route with high priority, accessing from the map database thefourth set of map data tiles, and storing the fourth set of map datatiles in the local memory as a fourth set of pre-fetch map data tiles,wherein initiating the second rendering function uses the fourth set ofpre-fetch map data tiles.
 11. The computer-implemented method of claim1, further including determining the first tile radius, the second tileradius, and the first set of map tile radii to be smaller when abandwidth of the client device is below a threshold than when thebandwidth is above the threshold and to be smaller when a processor loadof the client device is above a threshold than when the processor loadis below the threshold.
 12. A computer device comprising: acommunications network interface; one or more processors; one or morememories coupled to the one or more processors; a display device coupledto the one or more processors; wherein the one or more memories includecomputer executable instructions stored therein that, when executed bythe one or more processors, cause the one or more processors toinitiating a first routing function, using a computer, to generate afirst route, the first route defined by an origin, a destination, and aset of paths connecting the origin to the destination; determine a firstset of map tile radii associated with a set of points along the routeincluding the origin and the destination, wherein first set of map tileradii define a first set of map data tiles corresponding to map surfaceareas around and including the route; modifying, using the computer, adefault sequence of retrieval of the first set of map data tilescorresponding to the route based on a viewing window Position; retrievefrom a map database the first set of map data tiles in order of themodified sequence, wherein the map database stores the map data as aplurality of map data tiles, and the first set of map data tilescomprises a subset of the plurality of map data tiles of the mapdatabase; store the first set of map data tiles in a local memory as afirst set of pre-fetch map data tiles, wherein the local memory isdifferent from the map database; and initiating a rendering function todisplay the first route using the set of pre-fetch map data tiles of thelocal memory instead of map data tiles of the map database.
 13. Thecomputer device of claim 12, further including instructions to determinethe first set of pre-fetch map data tiles at a first zoom level tocorrespond with an area that completely encompasses the entire route andthat is displayable within a single viewing window at a first zoomlevel.
 14. The computer device of claim 12, further includinginstructions to determine a second set of map tile radii associated witha set of points along the route having high priority, wherein the secondset of map tile radii define a second set of map data tilescorresponding to map surface areas at a second higher zoom level aroundthe priority points; access, from the map database, the second set ofmap data tiles corresponding to the route, wherein the map databasestores the map data as a plurality of map data tiles, and the first setof map data tiles comprises a subset of the plurality of map data tilesof the map database; and store the first set of map data tiles in thelocal memory as a second set of pre-fetch map data tiles, whereininitiating the rendering function uses the second set of pre-fetch mapdata tiles instead of map data tiles of the map database.
 15. Thecomputer device of claim 12, further including a second routing functionto generate a second route that includes an origin, a destination, and aset of paths connecting the origin and the destination of the secondroute; determine a second set of map tile radii associated with a set ofpoints along the second route including the origin and the destinationof the second route, wherein second set of map tile radii define asecond set of map data tiles corresponding to map surface areas aroundand including the second route; access, from a map database, the secondset of map data tiles corresponding to the second route, wherein the mapdatabase stores the map data as a plurality of map data tiles, and thesecond set of map data tiles comprises a subset of the plurality of mapdata tiles of the map database; and store the second set of map datatiles in the local memory as a second set of pre-fetch map data tiles,wherein initiating the rendering function uses the second set ofpre-fetch map data tiles instead of map data tiles of the map database.16. The computer device of claim 15, wherein the second route is areturn route of the first route and wherein the origin of the firstroute is the destination of the second route and the destination of thefirst route is the origin of the second route.
 17. The computer deviceof claim 15, wherein the origin of the second route is along the firstroute and the destination of the second route is a point of interestwithin the vicinity of the first route.
 18. A computer devicecomprising: a communications network interface; one or more processors;one or more memories coupled to the one or more processors; a displaydevice coupled to the one or more processors; wherein the one or morememories include computer executable instructions stored therein that,when executed by the one or more processors, cause the one or moreprocessors to initiate a first routing function, using a computer, togenerate a first route, the first route defined by an origin, adestination, and a set of paths connecting the origin to thedestination; determine a first set of map data tiles corresponding tomap surface areas around and including the origin, a second set of mapdata tiles corresponding to map surface areas around and including thedestination, a third set of map data tiles corresponding to map surfaceareas around the route between the origin and the destination; modify adefault sequence of retrieval of the first, the second, and the thirdmap data tiles corresponding to the route based on a viewing windowposition; retrieving from a map database, the first set, the second set,and the third set of map data tiles in order of the modified sequence,wherein the map database stores the map data as a plurality of map datatiles, and the first, second, and third set of map data tiles comprisesa subset of the plurality of map data tiles of the map database; storethe first set, the second set, and the third set of map data tiles in alocal memory as a first, a second, and a third set of pre-fetch map datatiles, respectively, wherein the local memory is different from the mapdatabase; and initiating a rendering function to display the first routeusing the set of pre-fetch map data tiles of the local memory instead ofmap data tiles of the map database.
 19. The computer device of claim 18,further including instructions to access, from the map database, thefirst set, the second set, and the third set of map data tiles in asequence based on a current bandwidth of communications between thecomputer device and a server.
 20. The computer device of claim 18,further including instructions to determine an amount of the first, thesecond, and the third set of map data tiles to access from the mapdatabase based on a current bandwidth of communications between thecomputer device and a server.